package com.yuaer.demo.springsparkjobhandlerdemo.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * DAG节点的数据模型，包含节点ID、类型、参数和依赖关系。
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Node {
    private String id;
    private String type;
    private List<String> dependsOn;
    private Map<String, Object> params; // ✅ 统一的参数字段
}

